/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 74646
 * Date: 2022-01-26
 * Time: 16:32
 */
public class TestDemo1 {
    public static void main(String[] args) {
        MyList myList = new MyList();
        for (int i = 0; i < 5; i++) {
            myList.add(i,i+1);
        }
        myList.display();
        System.out.println("===========");
        //myList.setPos(13,919);
        myList.remove(1);
        myList.display();
        System.out.println("===========");
        myList.clear();
        myList.display();
        //System.out.println(myList.search(5));
        //System.out.println(myList.contains(5));
        //  System.out.println(myList.getPos(2));
    }
}
